@PACKAGE_INIT@

include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)

get_target_property(ffilesystem_INCLUDE_DIR ffilesystem::filesystem INTERFACE_INCLUDE_DIRECTORIES)
if(EXISTS ${ffilesystem_INCLUDE_DIR}/filesystem.h)
  set(ffilesystem_fallback false)
else()
  set(ffilesystem_fallback true)
endif()

target_link_libraries(ffilesystem::filesystem INTERFACE
$<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},9.1.0>>:stdc++fs>
)

check_required_components(@PROJECT_NAME@)
